package mn.idax.exchange.otc.common.mq.consumer;

import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

/**
 * @Auther: dison
 * @Date: 2018/9/10 13:42
 * @Description:
 */
@Component
public class JmsLogConsumer {

    @JmsListener(destination = "${activemq.topic.log}")
    public void receiveLogMessage(String message){
        System.out.println("===============receiveLogMessage============>>" + message);
    }
}
